package com.personal.gateway.service;

import com.alibaba.fastjson.JSONObject;
import com.personal.gateway.dao.SavePointDao;

import java.util.List;

/**
 * @author xuanqisong
 * @date 2021/5/26 11:20
 * @document
 */
public interface JobService {

    String startNoSavePoint(String jobName);

    String startWithSavePoint(String jobName, String filePath);

    String stopWithSavePoint(String jobName);

    String execute(JSONObject obj, String user);

    List<SavePointDao> getSavePoint(String jobName);

}
